package com.gz.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 用户表(Tuser)实体类
 *
 * @author makejava
 * @since 2024-01-15 14:25:04
 */
@Data
@ApiModel("Tuser实体类")
public class Tuser implements Serializable {
    private static final long serialVersionUID = -65048611705212273L;
    private Integer id;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("生日")
    private String birthday;
    @ApiModelProperty("年龄")
    private String age;
    @ApiModelProperty("性别")
    private String gender;
    @ApiModelProperty("余额")
    private String accountBalance;
    @ApiModelProperty("手机号")
    private String mobile;
    @ApiModelProperty("地址")
    private String address;
    @ApiModelProperty("教师等级")
    private String teachLevel;
    @ApiModelProperty("会员等级")
    private String meberLevel;
    @ApiModelProperty("会员积分")
    private String memberPoint;
    @ApiModelProperty("几零后")
    private String yearFcade;
    @ApiModelProperty("信用评分")
    private Double creditScore;
    @ApiModelProperty("昵称")
    private String nickName;
    @ApiModelProperty("验证码")
    private String verifyCode;
    @ApiModelProperty("token令牌")
    private String token;
    @ApiModelProperty("第三方登录平台标识")
    private String provide;
    @ApiModelProperty("第三方平台id")
    private String openId;
    @ApiModelProperty("学校名称")
    private String schoolName;
    @ApiModelProperty("学层")
    private String learnLevel;
    @ApiModelProperty("科目")
    private String subject;
    @ApiModelProperty("年级")
    private String grade;
    @ApiModelProperty("教龄")
    private Integer teachYear;
    @ApiModelProperty("省份")
    private String province;
    @ApiModelProperty("城市")
    private String city;
    @ApiModelProperty("区域")
    private String area;
    @ApiModelProperty("真实姓名")
    private String realName;
    @ApiModelProperty("身份证号")
    private String idNum;
    @ApiModelProperty("身份证图片正面")
    private String idImg1;
    @ApiModelProperty("身份证图片正面")
    private String idImg2;
    @ApiModelProperty("教师资格证编号")
    private String teachQualificationNum;
    @ApiModelProperty("教师资格证图片1")
    private String teachQualificationImg1;
    @ApiModelProperty("教师资格证图片2")
    private String teachQualificationImg2;
    @ApiModelProperty("头像")
    private String userImg;
    @ApiModelProperty("数据创建人id")
    private Integer crtId;
    @ApiModelProperty("数据创建人时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date crtDt;
    @ApiModelProperty("数据更新人id")
    private Integer optId;
    @ApiModelProperty("数据更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date optDt;
    @ApiModelProperty("角色集合")
    private List<RoleInfo> roles;
    @ApiModelProperty("角色id集合")
    private List<Integer> roleIds;
    @ApiModelProperty("删除状态 1:已删除(禁用) 2:0或空为未删除(未禁用)")
    private Integer status;
    @ApiModelProperty("有效截止时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date validDate;
}

